using UnityEngine;
/// <summary>
/// 消耗品、武器、盾牌、头盔、铠甲、鞋子
/// </summary>
public enum ItemType
{
    USEABLE, WEAPON, SHIELD, HELMET, ARMOR, BOOTS
}
[CreateAssetMenu(fileName = "ItemData", menuName = "Inventory/ItemData")]
public class ItemData_SO : ScriptableObject
{
    public ItemType itemType;
    public string itemName;
    /// <summary>
    /// 物品图标
    /// </summary>
    public Sprite itemIcon;
    /// <summary>
    /// 是否可以堆叠
    /// </summary>
    public bool stackable;
    public int itemAmount;
    [TextArea]
    public string description;
    [Header("Weapon")]
    public GameObject weaponPrefab;
    public AttackData_SO weaponData;
    public AnimatorOverrideController weaponAnimator;
    [Header("UseableItem")]
    public UseableItemData_SO useableItemData;

}
